package me.qi.kancha.dto.enums;

import me.qi.kancha.dto.enums.base.BaseEnum;

/**
 * @author sun
 * @date 2022/10/27 13:45
 * @modified By：
 */
public enum PersonType implements BaseEnum<Integer> {
    COLLEGE_PERSON(1, "院士大师")
    ;

    private int value;
    private String desc;

    PersonType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return String.format("%s:%s", super.toString(), this.desc);
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }

}
